Skip to content

Expand bundled gear library; load bundled gear/crosstalk live instead of seeding#414

Merged
marcinz606 merged 3 commits into
mainfrom
mz-more-gear
Jul 7, 2026
Merged

Expand bundled gear library; load bundled gear/crosstalk live instead of seeding#414
marcinz606 merged 3 commits into
mainfrom
mz-more-gear

Conversation

@marcinz606

Copy link
Copy Markdown
Owner

Summary

  • Bundled gear library: full Leica M-mount camera lineup, Summicron 28/Summilux 50/Summicron 50 lenses, Kodak Vision3 250D/500T (remjet + AHU variants), Kodak Double-X, and Ilford/Kentmere black & white stocks (FP4 Plus, Delta 100/400/3200, Pan F Plus, XP2 Super, SFX 200, Kentmere 100/400).
  • Gear and crosstalk profiles no longer get copied into the user's docs folder on first launch (seed_example()ensure_user_dir()). Both now read bundled data straight from the app bundle and merge it with the user's own additions, deduped by id/name with bundled taking priority — so future bundled additions reach every install automatically, and stale copies left over from the old seeding behavior stop showing as duplicates.
  • Bundled entries are read-only in the Gear Library dialog (form fields + delete disabled); duplicating one produces an independent, editable, persistable copy.

Test plan

  • make all (ruff format/lint, ty type check, full pytest suite — 1180 passed)
  • New/updated unit tests: bundled+user merge and dedup for gear (tests/metadata/test_gear_payload.py) and crosstalk (tests/test_crosstalk_profiles.py), save-time exclusion of bundled gear items, dialog duplicate-then-persist flow

…ere film stocks

Rounds out the bundled gear library: current and historical Leica M-mount
lenses and bodies, Vision3 250D/500T in both remjet and AHU variants, and
Ilford/Kentmere black & white stocks alongside the existing HP5.
Gear and crosstalk profiles used to be copied into the user's docs folder
on first launch, so bundled updates in later releases never reached
installs that were already seeded. Both now load bundled data straight
from the app bundle and merge it with the user's own additions (deduped
by id/name, bundled wins), so future gear/crosstalk additions show up for
everyone automatically. Bundled gear entries are read-only in the Gear
Library dialog; duplicating one makes an editable, persistable copy.
@marcinz606 marcinz606 merged commit ff817ab into main Jul 7, 2026
1 check passed
@marcinz606 marcinz606 deleted the mz-more-gear branch July 7, 2026 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant